import java.io.File;

public class D9212 {
    public static void main(String[] args) {
        File f = new File("D:\\pythonProject1");
        File[] files = f.listFiles();
        for (int i = 0; i < files.length; i++) {
            String name = files[i].getName();
            if (name.endsWith(".py")){
                files[i].delete();
            }

        }


    }
}
